package cn.flying.cloud.message.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 消息推送请求对象
 *
 * @author: admin
 * @date: 2025年03月29日 17:22
 * @version: 1.0
 */
public class MessageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    private String tenantId;
    /**
     * 请求流水号
     */
    private String requestNo;
    /**
     * 所属服务
     */
    private String serviceCode;
    /**
     * 接收者
     */
    private List<String> recipients;
    /**
     * 消息标题
     */
    private String title;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 模板编码
     */
    private String tplId;

    /**
     * 参数
     *
     * @return
     */
    private Map<String, Object> param;

    /**
     * 附件文件（注意这里的filePath必须是服务器本地文件路径，不能是远程文件链接）
     */
    private List<String> filePaths;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getRequestNo() {
        return requestNo;
    }

    public void setRequestNo(String requestNo) {
        this.requestNo = requestNo;
    }

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public List<String> getRecipients() {
        return recipients;
    }

    public void setRecipients(List<String> recipients) {
        this.recipients = recipients;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }

    public List<String> getFilePaths() {
        return filePaths;
    }

    public void setFilePaths(List<String> filePaths) {
        this.filePaths = filePaths;
    }

}
